import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { MarshalException } from "../../Engine/RMI/MarshalException";
type int = number;
//class EDailyWelfare
    
    export  class EDailyWelfare
    {
        constructor(arg1: int)
        {
            
            this.__value = arg1;
            return;
        }

        public value(): int
        {
            return this.__value;
        }

        public __write(arg1: SerializeStream): void
        {
            arg1.writeShort(this.__value);
            return;
        }

        public static convert(arg1: int): EDailyWelfare
        {
            return new EDailyWelfare(arg1);
        }

        public static __read(arg1: SerializeStream): EDailyWelfare
        {
            var loc1=arg1.readShort();
            if (loc1 < 0 || loc1 >= 4018) 
            {
                throw new MarshalException();
            }
            return EDailyWelfare.convert(loc1);
        }

        public static /* const */_EDailyWelfareExpDice: int=4001;

        public static /* const */_EDailyWelfareWuXingDice: int=4002;

        public static /* const */_EDailyWelfareTreasureBowlReward: int=4003;

        public static /* const */_EDailyWelfareLearnGuildSkill: int=4004;

        public static /* const */_EDailyWelfareGuildReward: int=4005;

        public static /* const */_EDailyWelfareCultureFightSpirit: int=4006;

        public static /* const */_EDailyWelfareAccLoadReward: int=4007;

        public static /* const */_EDailyWelfareContinuousLoadReward: int=4008;

        public static /* const */_EDailyWelfarePetExplore: int=4009;

        public static /* const */_EDailyWelfarePetArena: int=4010;

        public static /* const */_EDailyWelfarePetLifeStype: int=4011;

        public static /* const */_EDailyWelfareVipReward: int=4012;

        public static /* const */_EDailyWelfareOfflineExp: int=4013;

        public static /* const */_EDailyWelfareCopyExp: int=4014;

        public static /* const */_EDailyWelfareLotteryFreeRefresh: int=4015;

        public static /* const */_EDailyWelfareCrossUniqueWORSHIP: int=4016;

        public static /* const */_EDailyWelfareFlyGrowExchange: int=4017;

        public /* var */__value: int;
    }
